#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include"pot.h"
#include<stdlib.h>

void display(Linklist* head) 
{
	Linklist* p;
	p = head->next;
	while (p != NULL) {
		printf("%d ", p->val);
		p = p->next;
	}
	printf("\n");

}